home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0046.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.8 KB  |  48 lines

  1. On 08-Apr-97, Rune J. Keller sat on a keyboard and produced this mess:
  2.  
  3. > This very good file explains different ways to improve speed in your
  4. > AMOS-programs.
  5.  
  6. Thanks!
  7.  
  8. > However some of the tips really surprised me. Ben states that A=A+1 should be
  9. > faster than both Inc A and Add A,1. He also writes that Repeat ... Inc ...
  10. > Until should be faster than For ... Next. I have been doing some tests on my
  11. > system and it clearly proves that this is WRONG!
  12.  
  13. Whoops!
  14.  
  15. > I can not believe that Ben Wyatt has not checked his tips, so I must conclude
  16. > that the difference in speed is different on different system (I do not think
  17. > that Ben has a 68060?).
  18.  
  19. You're right. I tested most of the routines on an 020 and some on an 030 and
  20. they were faster on them. I think these are probably more average systems.
  21.  
  22. > Anyway I am working on a small program that will test the speed of different
  23. > commands, and I am thinking that it should be run on different systems, so we
  24. > could clear out which commands is fastest on which system. The rest of the
  25. > message is an output of my not-yet-finished speed tester.
  26.  
  27. I'd like a copy of this program when you finish it. I'll try it on my system.
  28. Does the program take CPU caches into account? That causes some wierd results
  29. on my 030.
  30.  
  31. > Do anyone has some comments on this?
  32.  
  33. Sounds good to me. I'd like to see some results for the > and >= comparision
  34. tests. I can't believe the one is slower than the other.
  35.  
  36. > [SNIP]
  37.  
  38. I'll add these test results to the list.
  39.  
  40. Bye ____________________________________________________
  41.    /                                                    \
  42.   / Ben Wyatt - bwyatt@paston.co.uk or b.wyatt@uea.ac.uk \
  43.   \   http://www.paston.co.uk/users/bwyatt/index.html    /
  44.    \____________________________________________________/
  45.         (c)1995-97 Very Interesting Signatures Ltd.
  46.  
  47.  
  48.